<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/jquery.js"></script>
		<script type="text/javascript">
			$(function(){
				$('button').click(function(){
					$(this).css('background','yellow')
					$(this).siblings().css('background','')//兄弟选择器
//					$(this).css('background','yellow').siblings().css('background','')//简写
				})
			})
		</script>
	</head>
	<body>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
		<button>按钮</button>
	</body>
</html>
